<?php

    require_once(SIMPLETEST_BASE_DIR.'/web_tester.php');
require_once FRAMEWORK_DIR."/libraries/neocasta/request.php";
$_GET['testget1']='valuetestget2';
class RequestTestCaseOutput extends WebTestCase {

/*
function testSetVar() {
	 NRequest::setVar('test1','valuetest1');
	 $value1 = NRequest::getVar('test1');
         $this->assertEqual($value1,"valuetest1", "%s -> Pass");
	 NRequest::unsetVar('test1');
	 $value1 = NRequest::getVar('test1');

	 $this->assertNotEqual($value1,"valuetest1", "%s -> Pass");
	 
        }
 function testGetVar() {
   	//$this->get(TEST_BASE_URL.'/request_web.php',array('testget1',"valuetestget2"));	
        $this->assertEqual($_GET['testget1'],"valuetestget2", "%s -> you should try this url <a href='?testget1=valuetestget2'>url</a>");
 	  
	$this->assertEqual(NRequest::getVar('testget1'),"valuetestget2", "%s -> you should try this url <a href='?testget1=valuetestget2'>url</a>");
 	$value1 = NRequest::getVar('testget1');
          $this->assertEqual(NRequest::getVar('testget1','_GET'),"valuetestget2", ""); 

	NRequest::setVar('testget1',"valuetestset3");
 	 $value1 = NRequest::getVar('testget1','');

	
        $this->assertNotEqual($_GET['testget1'],$value1, "%s -> pass");

  	
         }*/

}


?>